<template>
  <div>
    <h1>表单使用</h1>
    用户名：<el-input v-model="input" placeholder="请输入内容"></el-input>
    {{ input }}
    <hr>
    <el-input disabled v-model="input" placeholder="请输入内容"></el-input>
    <hr>
    密码：
    <el-input show-password v-model="pass" placeholder="输入密码"></el-input>
  </div>
</template>

<script>
  export default {
    data(){
      return {
        input:"admin",
        pass:""
      }
    }
  }
</script>

<style lang="scss" scoped>

</style>